﻿@{
    ViewBag.Title = "ShopRanking";
}
<link rel="stylesheet" type="text/css" href="~/Content/bootstrap-datetimepicker.min.css">
<script type="text/javascript" src="~/Scripts/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="~/Scripts/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="~/Scripts/echarts-plain-map.js"></script>
<script src="~/Scripts/CommonJS.js"></script>
<script src="~/Areas/Admin/Scripts/ShopRanking.js"></script>
<div class="container">
    <ul class="nav nav-tabs-custom clearfix">
        <strong>店铺统计</strong>
        <li><a href="./NewShop">新增店铺</a></li>
        <li class="active"><a>店铺排行</a></li>
        <em class="primary-btn">
            <span class="glyphicon glyphicon-question-sign"></span>
            <div class="primary">
                <h3>温馨提示：</h3>
                <span>*</span><p>可查看平台店铺统计数据</p>
            </div>
        </em>
    </ul>
    <form class="custom-inline count-search">
        <div class="form-group">
            <select id="queryType" class="form-control input-sm">
                <option value="0">按天统计</option>
                <option value="1">按周统计</option>
                <option value="2">按月统计</option>
            </select>
        </div>
        <div class="form-group">
            <input id="inputStartDate" class="form-control input-sm start_datetime" value="@DateTime.Now.ToString("yyyy-MM-dd")" type="text" >
        </div>
        <div class="form-group">
            @Html.DropDownList("year", (List<SelectListItem>)ViewBag.YearDrop, new { @class = "form-control input-sm", style = "display:none;", id = "yearDrop" })
        </div>
        <div class="form-group">
            @Html.DropDownList("month", (List<SelectListItem>)ViewBag.MonthDrop, new { @class = "form-control input-sm", style = "display:none;", id = "monthDrop" })
        </div>
        <div class="form-group">
            @Html.DropDownList("week", (List<SelectListItem>)ViewBag.WeekDrop, new { @class = "form-control input-sm", style = "display:none;", id = "weekDrop" })
        </div>

        <input type="button" class="btn btn-primary btn-sm" id="SearchBtn" value="查询" />
    </form>
    <div class="count">
        <div class="text-right form-group">
            <div class="btn-group">
                <button type="button" value="1" name="dimensionType" class="btn btn-default btn-xs active">订单量</button>
                <button type="button" value="2" name="dimensionType" class="btn btn-default btn-xs">销售额</button>
            </div>
        </div>
        <div class="count-chat">
            <div id="main" style="height:500px;border:1px solid #ccc;padding:10px;"></div>
        </div>



    </div>
</div>